s1 = {1, 2, 3, 4,5, 6, 7, 8, 9}
s2 = {1, 2, 3, 4, 5, 6, 7, 8, 10}
print(s1 & s2)
print(s1 | s2)
print(s1 ^ s2)
print(s1 - s2)
s1.add(11)
print(s1)
s1.remove(6)
print(s1)
# s1.clear()
print(s1)
for i in s1:
    print(i, end = ' ')
for i, j in enumerate(s1):
    print(i, '-->', j)
s = {i for i in range(1, 19, 2)}
print(s)
s = {i for i in range(1, 19)if i%3 == 0 or i%5 == 0}
print(s)